// import markPic from './mark.png'
// import activePic from './mark_active.png'
// import initPic from './mark_init.png'
let markPic = "";
let activePic = "";
let initPic = "";

export const lbsApi = {
    search:`/api/comp/map/open/search`,//地点搜索
    citys:`/api/comp/map/open/citys`,//获取省市区
    geocoder:`/api/comp/map/open/geocoder`,//地址解析
    loctionByIp:`/api/comp/map/open/loctionByip`,//ip定位
};

export  const mapKey = 'UMRBZ-TYGY6-OXFS2-E6JOI-SAFDT-KEFZ6';

// export const markPics  = {
//     defaultPic:markPic,
//     activePic:activePic,
// };
const sizeStyle = {
    "width": 35,  // 点标记样式宽度（像素）
    "height": 35, // 点标记样式高度（像素）
    //焦点在图片中的像素位置，一般大头针类似形式的图片以针尖位置做为焦点，圆形点以圆心位置为焦点
    "anchor": { x: 16, y: 32 },
};
export const markStyle  = {
    'defaultStyle':{
        ...sizeStyle,
        "src":markPic,
    },
    'activeStyle':{
        ...sizeStyle,
        "src":activePic,
    },
    'initStyle':{
        ...sizeStyle,
        "src":initPic,
    }
};

export const markStyleKey = {
    def:'defaultStyle',
    act:'activeStyle',
    init:'initStyle'
};

export const customMarkId = {
    CLICK_MAP_LAT_LNG_ID:'CLICK_MAP_LAT_LNG_ID',
    INIT_VALUE_MAP_LAT_LNG_ID:'INIT_VALUE_MAP_LAT_LNG_ID'
};